﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XCommunity.Web
{
  public class LoggedAccount : Account
  {
    private string _username;
    private string _token;

    internal LoggedAccount( string username, string token )
    {
      _username = username;
      _token = token;
    }



    internal override string Token
    {
      get { return _token; }
    }



    public override string Name
    {
      get { return _username; }
    }

    public override bool IsAuthenticated
    {
      get { return true; }
    }
  }
}
